/*
 * @Author: your name
 * @Date: 2020-10-13 17:29:38
 * @LastEditTime: 2020-10-14 09:09:56
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \nuxt-iview\api\public.js
 */
// import axios from '~/plugins/request'
import axios from 'axios'
// 设置语言
const setLanguage = options => {
  return axios.post('/api/public/set-language', options)
}
//获取语言
const getLanguage = () => {
  return axios.get('/api/public/get-language')
}


export {
  setLanguage,
  getLanguage
}
